/// currentTime : 1629181798487
/// data : [{"num":"1","time":"2021-08-16"}]
/// resultCode : 1

class DataCenterListModel{
  int currentTime;
  List<DataCenterListBean> data;
  int resultCode;

  DataCenterListModel({
      this.currentTime, 
      this.data, 
      this.resultCode});

  DataCenterListModel.fromJson(dynamic json) {
    currentTime = json["currentTime"];
    if (json["data"] != null) {
      data = [];
      json["data"].forEach((v) {
        data.add(DataCenterListBean.fromJson(v));
      });
    }
    resultCode = json["resultCode"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["currentTime"] = currentTime;
    if (data != null) {
      map["data"] = data.map((v) => v.toJson()).toList();
    }
    map["resultCode"] = resultCode;
    return map;
  }

}

/// num : "1"
/// time : "2021-08-16"

class DataCenterListBean {
  String num;
  String time;

  DataCenterListBean({
      this.num, 
      this.time});

  DataCenterListBean.fromJson(dynamic json) {
    num = json["num"];
    time = json["time"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["num"] = num;
    map["time"] = time;
    return map;
  }

}